// Decompiled by GOOSIN CO,LTD Copyright 2010 Pavel Kouznetsov.
// home page: http://www.Goosin.net
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   multiLangValidate.java

package include.validator;

import include.tree_index.businessComment;
import javax.servlet.http.HttpServletRequest;
import uk.ltd.getahead.dwr.WebContext;
import uk.ltd.getahead.dwr.WebContextFactory;

public class multiLangValidate
{

	businessComment demo;
	WebContext ctx;
	HttpServletRequest request;

	public multiLangValidate()
	{
		demo = new businessComment();
		ctx = WebContextFactory.get();
		request = ctx.getHttpServletRequest();
	}

	public String dwrGetLang(String table_name, String name)
	{
		String lang = "";
		demo.setPath(request);
		try
		{
			lang = demo.getLang(table_name, name);
		}
		catch (Exception ex)
		{
			ex.printStackTrace();
		}
		return lang;
	}
}
